package com.bianqian.demo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 复制笔记请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CopyNoteRequest {
    
    @NotNull(message = "笔记ID不能为空")
    private Long id;
    
    private String newTitle; // 新标题，可选，如果不提供则使用原标题 + "副本"
}
